<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Xppass Administrator's Control Panel</title>
<LINK href="<?php echo $www_site_url?>/public/yav-style.css" type=text/css rel=stylesheet>
<script src="<?php echo $www_site_url?>/public/js/common.js" type="text/javascript"></script>

</head>
<body><div id="append"></div>
<div id="msg" style="color:red;text-align:center"></div>


	<div class="container">
			
		<h3><?php echo lang('brand_list')?>:<?php echo $corp['c_name']?> <?php echo lang('brand_total')?>:<?php echo $total?></h3>
		
		<div class="mainbox">
				<form action="<?php echo $www_site_url?>/admin.php" onsubmit="return confirm('<?php echo lang('domain_delete_comfirm')?>');" method="post">
				<input type="hidden" name="action" value="corporation">
				<input type="hidden" name="op" value="delbrand">
				<table class="datalist fixwidth" onmouseover="addMouseEvent(this);" >

					<tr>
						<th><input type="checkbox" name="chkall" id="chkall" onclick="checkall('delete[]')" class="checkbox" /><label for="chkall"><?php echo lang('delete')?></label></th>
						<th>ID</th>
						
						<th><?php echo lang('b_name')?></th>
						<th><?php echo lang('c_store')?></th>

						
						<th><?php echo lang('edit')?></th>
					</tr>
						<?php if(isset($brands) && is_array($brands)){
							foreach ($brands as $v){?>	
						<tr>
							<td class="option"><input type="checkbox" name="delete[]" value="<?php echo $v['b_id']?>" class="checkbox" /></td>
							<td><?php echo $v['b_id']?></td>
						
							<td><strong><?php echo splitx($v['b_name']);?></strong></td>
			<td><a href="/admin.php/corporation/store/b_id/<?php echo $v['b_id']?>"><?php echo lang('c_store')?></a></td>
							
							<td><a href="/admin.php/corporation/editbrand/b_id/<?php echo $v['b_id']?>"><?php echo lang('edit')?></a></td>
						</tr>
												
						<?php }
						}?>
										<tr class="nobg">
						<td><input type="submit" value="<?php echo lang('submit')?>" class="button" />
						 <input type="button" value="<?php echo lang('goback')?>" onclick="history.go(-1);" class="button" /></td>
					</tr>
				</table>

				</form>
					</div>

	</div>

</body>
</html>